
const express = require('express');

const app = express()

app.use(express.static('www'));


app.get('/getone', function (req,res) {
    console.log('接收到getone请求了');
    console.log(req.query);
    res.send('成功了');
})


// 
app.listen(3000, () => {
    console.log('http://localhost:3000');
})